home *** CD-ROM | disk | FTP | other *** search
- drag_coeff 0.01
- gravity 2.2
-
- ;-------------------------------------------------------
-
- create hero "plfight"
- label "plfight"
- position 28317.6 -78 14188.3
- forward -0.79 0 -0.61 up 0 1 0
- armed_with "GREEN LASER" rate 4
- secondary_armed_with "ENERGY 1" rate 16 rounds 20
- task
- wait_until flag 0 set
- playercontrols
- position 28317.6 -78 14188.3
- end
-
-
- create "mobspgun"
- label "laser1"
- position 23624 -553 15265.9
- forward 0.8 0 0.5 up 0 1 0
- armed_with "GREEN LASER" rate 3
- inert
-
- create "mobsprack"
- position 23700 -524 14108.9
- forward 0.5 0 0.8 up 0 1 0
- armed_with "GUIDED MISSILE" rate 32
- task
- slave_to "laser1"
- end
-
- create "mobspgun"
- label "laser2"
- position 34427.6 -1543 13849.6
- forward 0.5 0 0.8 up 0 1 0
- armed_with "GREEN LASER" rate 3
- inert
-
- create "mobsprack"
- label "P8rack"
- position 34427.6 -1514 12737.6
- forward 0.5 0 0.8 up 0 1 0
- armed_with "GUIDED MISSILE" rate 32
- ; task
- ; slave_to "laser2"
- ; end
-
- ;-----------------small shields---------------------------
- createstatic "sshield"
- no_colide "ssgen1"
- die_with "ssgen1"
- position 29480.2 on ground 37826
-
- createstatic "sshield"
- no_colide "ssgen3"
- die_with "ssgen3"
- position 40500.7 on ground 53144.5
-
- createstatic "sshield"
- no_colide "ssgen4"
- die_with "ssgen4"
- position 39676.7 on ground 50949.5
-
- createstatic "sshield"
- no_colide "ssgen5"
- die_with "ssgen5"
- position 38239.7 on ground 52529.5
-
- createstatic "sshield"
- no_colide "ssgen6"
- die_with "ssgen6"
- position 47237 on ground 23138
-
- createstatic "sshield"
- no_colide "ssgen7"
- die_with "ssgen7"
- position 48237 on ground 20938
-
- createstatic "sshield"
- no_colide "ssgen8"
- die_with "ssgen8"
- position 46237 on ground 20938
-
- ;-----------------big shields---------------------------
- createstatic "bshield"
- no_colide "bsgen1"
- die_with "bsgen1"
- position 31933.8 on ground 41342.7
-
- createstatic "bshield"
- no_colide "bsgen2"
- die_with "bsgen4"
- position 31933.8 on ground 34102.7
-
- createstatic "bshield"
- no_colide "bsgen3"
- die_with "bsgen3"
- position 34921.8 on ground 37720.7
-
- createstatic "bshield"
- no_colide "bsgen4"
- die_with "bsgen2"
- position 20193.7 on ground 53659.2
-
- createstatic "vbshield"
- no_colide "bsgen5"
- die_with "bsgen5"
- position 48847.8 on ground 53587.7
-
- createstatic "bshield"
- no_colide "bsgen7"
- die_with "bsgen7"
- position 44309.5 on ground 47462.7
-
- createstatic "bshield"
- no_colide "bsgen8"
- die_with "bsgen8"
- position 49081 on ground 36238.2
-
- set_inert "bsgen5"
- set_inert "bsgen8"
-
- set_inert "bsgen7"
- set_inert "ssgen3"
- set_inert "ssgen4"
- set_inert "ssgen5"
-
- set_inert "ssgen6"
- set_inert "ssgen7"
- set_inert "ssgen8"
-
- ;-------------------------------------------------------
- ;PHASE 1
- ;-------------------------------------------------------
-
- phasestart
- clear_flag all
-
- critical_group "ccentre"
-
- phasemessage 60 60
- playcdslow
-
- hud off
- camera
- position 600 -300 -600 relative to "hero"
- pointing_at "hero"
- dolly 0
- pause 1
-
- procedure "P1e"
- set_waypoint nearest "aland"
- end_procedure
-
- procedure "P1a"
- create "atank"
- position 19067.7 on ground 22866.4
-
- towards "hero"
- armed_with "ROCKET 1" rate 64
- task
- goto 23950.8 on ground 17849.9
- do
- goto 26130.4 on ground 14266.9
- shoot "command4"
- goto 28348.1 on ground 13026.8
- shoot "command3"
- goto 27681.8 on ground 10495.8
- shoot "command1"
- goto 25091.8 on ground 11318.9
- shoot "command2"
- forever
- end
- pause 75
- end_procedure terminate after 4 loops
-
- pause 40
- set_flag 0
-
- camera cockpit
-
- #==================================
-
- procedure "P1b"
- wait_until number_of "aair"<2
-
- create "lfighter"
- position 100 -3000 15000 relative toxz "hero"
- towards "hero"
- armed_with "RED LASER" rate 8
- task
- attack "hero"
- break_task_if number_of "aland"=0
- attack "command1"
- attack "hero"
- attack "command2"
- attack "hero"
- attack "command3"
- attack "hero"
- attack "command4"
- end
- pause 100
- end_procedure terminate after 4 loops
-
-
- procedure "P1c"
- wait_until number_of "fighters"=0
- create "hfighter"
- position -5000 -3700 17000 relative toxz "hero"
- towards "hero"
- armed_with "PLASMA BOLT 1" rate 16
- task
- goto 0 -2000 0 relative to closest "aland"
- do
- patrol
- point 0 -2000 0 relative to closest "aland"
- break_task_if distance_between me and "hero" <4000
- or number_of "aland"=0
- stop
- shoot "hero"
- until number_of "aland" = 0
- attack "hero"
- end
- pause 100
- do_procedure_until number_of "aland" = 0
-
-
- wait_until proc "P1a" terminated
- wait_until number_of "aland" = 0
- end_procedure "P1e"
-
- procedure "P1e"
- set_waypoint "command1"
- wait_until "command1" destroyed
-
- set_waypoint "command2"
- wait_until "command2" destroyed
-
- set_waypoint "command3"
- wait_until "command3" destroyed
-
- set_waypoint "command4"
- wait_until "command4" destroyed
- clear_waypoint
- end_procedure
-
- #==================================
- phasemessage 61 60
-
- wait_until proc "P1b" terminated
- wait_until proc "P1c" terminated
-
- wait_until number_of "fighters" = 0
- wait_until number_of "aair" = 0
- end_procedure "P1e"
- clear_waypoint
-
- #==================================
- phasemessage 91 60
-
- uncritical_group "ccentre"
-
- pause 20
-
- hud off
- camera
- attached_to "hero"
- position 600 -300 -600
- pointing_at "hero"
- dolly 1
- dollyspeed 0.1%
- pause 80
-
- set_inert "plfight"
-
- ;-------------------------------------------------------
- ;PHASE 2
- ;-------------------------------------------------------
-
- phasestart
- clear_flag all
-
- phasemessage 2 60
-
- create "hovertank"
- label "P2hero"
- position 24871 on ground 10309.6
- forward 0.57 0 0.82 up 0 1 0
- armed_with "RED LASER" rate 4
- secondary_armed_with "TRACER SHOT 1" rate 32 rounds 20
-
-
- switch_hero "P2hero"
- task
- wait_until flag 0 set
- playercontrols
- break_task_if flag 10 set
- end
-
-
- create "bug"
- label "P2bug"
- position 27227.2 -500 14517.8
- towards "hero"
- armed_with "GREEN LASER" rate 4
- secondary_armed_with "DESIGNATOR" rate 128 rounds 20
- inert
- task
- do
- patrol
- point 1000 -1800 0 relative to "hero"
- break_task_if distance_between me and closest "aair" <6000
- stop
- shoot group "aair"
- until flag 10 set
- goto 0 -2000 0 relative to "hero"
- end
-
-
-
- create "alnadubs"
- label "gun3"
- position 26882.1 on ground 40742.8
- forward 0 0 -1 up 0 1 0
- armed_with "GREEN ENERGY LASER" rate 16
- task
- attack
- end
-
- create "alnadubs"
- label "gun8"
- position 25026.1 on ground 49973.9
- forward 0 0 1 up 0 1 0
- armed_with "GREEN ENERGY LASER" rate 16
- task
- attack
- end
-
-
- hud off
- camera
- position 600 -300 -600 relative to "hero"
- pointing_at "hero"
- dolly 0
- pause 1
-
- pause 40
- set_flag 0
-
- camera cockpit
- #==================================
-
- create "facraft"
- position 22660.2 on ground 28148.3
- towards "hero"
- armed_with "RED LASER" rate 4
- task
- wait_until distance_between me and "hero" < 7000
- attack "hero"
- end
-
- create "facraft"
- position 23689.4 on ground 22977
- towards "hero"
- armed_with "TRACER SHOT 1" rate 128
- task
- wait_until distance_between me and "hero" < 7000
- attack "hero"
- end
-
-
- create "facraft"
- position 29410.6 on ground 23134.3
- towards "hero"
- armed_with "RED LASER" rate 4
- task
- wait_until distance_between me and "hero" < 7000
- attack "hero"
- end
-
-
- procedure "P2wp"
- set_waypoint nearest "aland"
- end_procedure
-
-
- procedure "P2a"
- wait_until number_of "aair"=0
- create "lfighter"
- position 0 -3200 17000 relative to "hero"
- towards "hero"
- armed_with "RED LASER" rate 4
- task
- attack "hero"
- end
-
- pause 100
- end_procedure
-
- wait_until distance_between "hero" and 26962.4 on ground 34777.2 <9000
- or number_of "aland"=0
-
- procedure "P2b"
- create "facraft"
- position 12962.2 on ground 37364.2
- towards "command1"
- armed_with "RED LASER" rate 4
- task
- goto 17585.1 on ground 31390.8
- attack "hero"
- end
-
- pause 150
- end_procedure terminate after 4 loops
-
- wait_until proc "P2b" terminated
- wait_until number_of "aland" = 0
- end_procedure "P2wp"
-
- phasemessage 21 60
-
-
- procedure "P2b"
- set_waypoint nearest "agun"
- end_procedure
-
- wait_until number_of "agun" = 0
- end_procedure "P2a"
- end_procedure "P2b"
- kill group "aair"
- clear_waypoint
- #==================================
- phasemessage 91 60
-
- set_flag 10
- camera cockpit
- pause 60
-
- ;-------------------------------------------------------
- ;PHASE 3
- ;-------------------------------------------------------
-
- phasestart
-
- clear_flag all
-
- phasemessage 52 60
-
- set_inert "bsgen1"
- set_inert "bsgen2"
- set_inert "bsgen3"
-
- camera_task
- hud off
- cam_pos "hero"
- cam_focus "P2bug"
- dolly 1
-
- pause 150
- cam_mode cockpit
- set_flag 0
- end
-
- switch_hero "P2bug"
- task
- goto 0 -3500 0 relative toxz "P2hero"
- break_task_if flag 0 set
- playercontrols
- kill
- end
- wait_until flag 0 set
- auto_aim "hero"
- kill "P2hero"
-
- #==================================
- procedure "P3e"
- wait_until "P2bld" destroyed
-
- camera_task
- hud off
- cam_pos -6000 -3500 0 attached_to "P2bld"
- cam_focus "P2bld"
- dolly 0
- cam_goto 6000 -3500 0
- end
-
- phasemessage 81 120
-
- explode group "aliens"
- pause 50
- explode group "aliens"
- pause 50
- camera cockpit
- end_procedure terminate after 1 loops
-
-
- procedure "P3a"
-
- wait_until number_of "bomber" =0
- create "lbomber"
- position 10000 -3500 1000 relative toxz "pad2"
- towards "pad2"
- armed_with "PLASMA BOLT 1" rate 24
- task
- do
- goto 0 -3500 0 relative toxz "hero"
- break_task_if distance_between me and "hero" < 3000
- shoot "hero"
- forever
- end
- pause 75
- end_procedure terminate after 2 loops
-
-
- procedure "P3b"
- create "lfighter"
- position 2000 -9000 5000 relative toxz "pad2"
- towards "pad2"
- armed_with "PLASMA BOLT 3" rate 0
- task
- goto 0 -4200 0 relative toxz "pad2"
- do
- goto 27051.9 -3430.29 30302.5
- shoot "hero"
- goto 25602.4 -3346.02 41119.4
- shoot "hero"
- goto 32723.3 -3155.91 46495.4
- shoot "hero"
- goto 40765 -3081.51 39478.8
- shoot "hero"
- forever
-
- end
- pause 150
- end_procedure terminate after 4 loops
-
-
- wait_until proc "P3a" terminated
- wait_until number_of "aair" = 0
- wait_until number_of "bomber" = 0
- end_procedure "P3b"
-
-
- ;----------------
- ;-------1st pad
- phasemessage 62 60
- set_waypoint "bsgen4"
- wait_until "bsgen4" destroyed
-
- phasemessage 63 60
- set_waypoint "pad2"
-
- procedure "P3a"
- wait_until number_of "fighters" <4
- create "hfighter"
- position 32110 -845 34375
- towards 29449 -2943 31420
- armed_with "RED LASER" rate 4
- task
- goto 29449 -2943 31420
- attack "hero"
- end
- pause 75
- end_procedure
-
- wait_until "pad2" destroyed
- end_procedure "P3a"
- clear_waypoint
-
- phasemessage 52 60
-
- wait_until number_of "fighters"=0
-
- ;----------------
- ;-------2nd pad
- set_volatile "bsgen1"
-
- phasemessage 62 60
- set_waypoint "bsgen1"
- wait_until "bsgen1" destroyed
-
- phasemessage 63 60
- set_waypoint "pad1"
-
- procedure "P3a"
- wait_until number_of "aair" <4
- create "lfighter"
- position 31867.9 -708.997 41033.6
- towards 25677.8 -2929 41445.6
- armed_with "RED LASER" rate 4
- task
- goto 25677.8 -2929 41445.6
- attack "hero"
- end
- pause 40
- end_procedure
-
- wait_until "pad1" destroyed
- end_procedure "P3a"
- clear_waypoint
- phasemessage 52 60
- wait_until number_of "aair"=0
-
-
- ;----------------
- ;-------3rd pad
- set_volatile "bsgen3"
- phasemessage 62 60
- set_waypoint "bsgen3"
- wait_until "bsgen3" destroyed
-
- phasemessage 64 60
- set_waypoint "pad3"
-
- create "lfighter"
- position 34681.9 -791.55 37772.7
- towards 31512 -2193.67 35731
- armed_with "GUIDED MISSILE" rate 32
- task
- goto 31512 -2193.67 35731
- attack "hero"
- end
- pause 20
-
- procedure "P3a"
- wait_until number_of "aair" <6
- create "lfighter"
- position 34681.9 -791.55 37772.7
- towards 31512 -2193.67 35731
- armed_with "RED LASER" rate 4
- task
- goto 31512 -2193.67 35731
- attack "hero"
- end
- pause 20
- end_procedure
-
- wait_until "pad3" destroyed
- end_procedure "P3a"
- clear_waypoint
- phasemessage 10 60
- wait_until number_of "aair"=0
-
- procedure "P3a"
- wait_until number_of "aair" <6
- create "lfighter"
- position 17000 -32000 500 relative toxz "hub1"
- armed_with "RED LASER" rate 4
- task
- attack "hero"
- end
- pause 75
- end_procedure
-
- set_volatile "bsgen2"
- phasemessage 62 60
- set_waypoint "bsgen2"
- wait_until "bsgen2" destroyed
-
- phasemessage 65 60
- set_waypoint "hub1"
- wait_until "hub1" destroyed
-
- phasemessage 62 60
- set_waypoint "ssgen1"
- wait_until "ssgen1" destroyed
- end_procedure "P3e"
-
- phasemessage 66 60
- set_waypoint "P2bld"
- wait_until "P2bld" destroyed
- clear_waypoint
-
- phasemessage 24 60
-
- end_procedure "P3a"
-
- wait_until number_of "aair"=0
-
- #==================================
- phasemessage 91 60
-
- pause 20
-
- hud off
- camera
- attached_to "hero"
- position 600 -300 -600
- pointing_at "hero"
- dolly 1
- dollyspeed 0.1%
- pause 80
-
- ;==============
- phasemessage 91 60
-
- pause 20
-
- hud off
- camera
- attached_to "hero"
- position 600 -300 -600
- pointing_at "hero"
- dolly 1
- dollyspeed 0.1%
- pause 80
-
- ;-------------------------------------------------------
- ;END OF SCENARIO
-